import {METHOD, request} from "@/utils/request";
import {GET_FEEDBACK,PUT_FEEDBACK_PROCESS} from "@/services/api";

export async function getFeedbacks(pageNum = 1, pageSize = 15, queryStr = ''){
    return request(GET_FEEDBACK + `?pageNum=${pageNum}&pageSize=${pageSize}&queryStr=${queryStr}`,METHOD.GET)
}
export async function getFeedbackDetail(){

}
export async function handleProcess(params){
    return request(PUT_FEEDBACK_PROCESS,METHOD.PUT,params)
}

export default {
    getFeedbacks,
    handleProcess
}